package cn.edu.neusoft.amicooldemo.service;

import java.util.List;

import cn.edu.neusoft.amicooldemo.bean.ArticleBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ArticleService {
	@GET("api.php/lists/mod/{mod}")
    Call<List<ArticleBean>> getResultList(@Path("mod")String mod, @Query("page") int page, @Header("SessionID") String sessionID);

	@GET("api.php/get/mod/{mod}")
    Call<ArticleBean> getArticle(@Path("mod")String mod,@Query("id") int id);
	
}
